home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mkversion / RCS / mkversion.man,v < prev   
Text File  |  1988-12-30  |  2KB  |  129 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.3
  10. date     88.12.30.09.57.48;  author ouster;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     88.12.22.10.11.55;  author ouster;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.12.22.10.04.20;  author ouster;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @More format upgrades.
  32. @
  33. text
  34. @' $Header: /a/newcmds/mkversion/RCS/mkversion.man,v 1.2 88/12/22 10:11:55 ouster Exp Locker: ouster $ SPRITE (Berkeley)
  35. .so \*(]ltmac.sprite
  36. .HS MKVERSION cmds
  37. .BS
  38. .SH NAME
  39. mkversion \- print version string
  40. .SH SYNOPSIS
  41. \fBmkversion\fR [\fB\-dtp\fR]
  42. .br
  43. \fBmkversion\fR [\fB\-p\fR] \fIprogName\fR
  44. .SH OPTIONS
  45. .IP \fB\-d\fR 20
  46. Include the path to the current directory in the version string.
  47. .IP \fB\-t\fR 20
  48. Do not put the date in the version string.
  49. .IP "\fB\-p \fIprogName\fR"
  50. The \fB\-p\fR option must be followed by a string (giving the name of the program).
  51. The string \fIprogName\fR will be included in the version string.
  52. .BE
  53. .SH DESCRIPTION
  54. Mkversion prints out a version string useful for inclusion in header files
  55. and program strings and easily generated by calling mkversion in a Makefile.
  56. .SH EXAMPLES
  57. \fBmkversion\fR generates:
  58. .br
  59. #define VERSION "(31 Oct 88 18:07:55)"
  60. .sp
  61. \fBmkversion \-t\fR generates:
  62. .br
  63. #define VERSION ""
  64. .sp
  65. \fBmkversion \-d\fR generates:
  66. .br
  67. #define VERSION "/a/newcmds/mkversion (31 Oct 88 18:08:07)"
  68. .sp
  69. \fBmkversion \-p flea\fR generates:
  70. .br
  71. #define VERSION "flea (31 Oct 88 18:08:17)"
  72. .sp
  73. \fBmkversion \-dp flea\fR generates:
  74. .br
  75. #define VERSION "/a/newcmds/mkversion/flea (31 Oct 88 18:09:54)"
  76. .SH KEYWORDS
  77. version, Makefile, date
  78. @
  79.  
  80.  
  81. 1.2
  82. log
  83. @Updates to new official man format.
  84. @
  85. text
  86. @d1 1
  87. a1 1
  88. ' $Header$ SPRITE (Berkeley)
  89. d8 1
  90. a8 1
  91. \fBmkversion\fR -[\fBdtp\fR]
  92. d10 1
  93. a10 1
  94. \fBmkversion\fR -[\fBp\fR] \fIprogName\fR
  95. d12 1
  96. a12 1
  97. .IP \fB-d\fR 20
  98. d14 1
  99. a14 1
  100. .IP \fB-t\fR 20
  101. d16 2
  102. a17 2
  103. .IP "\fB-p \fIprogName\fR"
  104. The \fB-p\fR option must be followed by a string (giving the name of the program).
  105. d28 1
  106. a28 1
  107. \fBmkversion -t\fR generates:
  108. d32 1
  109. a32 1
  110. \fBmkversion -d\fR generates:
  111. d36 1
  112. a36 1
  113. \fBmkversion -p flea\fR generates:
  114. d40 1
  115. a40 1
  116. \fBmkversion -dp flea\fR generates:
  117. @
  118.  
  119.  
  120. 1.1
  121. log
  122. @Initial revision
  123. @
  124. text
  125. @d17 1
  126. a17 1
  127. The -p option must be followed by a string (giving the name of the program).
  128. @
  129.